package com.smithlibraties.util.annotation.register.loader;

import com.smithlibraties.util.annotation.register.RegisterType;

import java.lang.reflect.Field;

/**
 * 储存当前注解对象的属性
 */
public class RegisterAttribute {

    private Field field;
    private RegisterType type;
    private String value;
    private String oreName;

    public RegisterAttribute(Field field, RegisterType type, String value) {
        super();
        this.field=field;
        this.type = type;
        this.value=value;
    }

    public RegisterAttribute(Field field, RegisterType type, String value, String oreName) {
        super();
        this.field=field;
        this.type = type;
        this.value=value;
        this.oreName = oreName;
    }

    public Field getField() {
        return field;
    }

    public RegisterType getType() {
        return type;
    }

    public String getValue() {
        return value;
    }

    public String getOreName() {
        return oreName;
    }
}
